package DBLayer;

import static org.junit.Assert.*;

import java.sql.Date;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import ModelLayer.Holiday;
import ModelLayer.RegularDayOff;

public class DBHolidayTest {
	private IFDBHoliday dbHoliday;
	
	@Before
	public void setUp() throws Exception {
		dbHoliday = new DBHoliday();
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testGetHoliday() {
		try
		{
			Holiday holiday = dbHoliday.getHoliday(1, new Date(113, 4, 11));
			
			if(holiday != null)
			{
				System.out.println(holiday.getId());
			}
		}
		catch(Exception err)
		{
			fail("Not yet implemented");
		}
	}

}
